package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.bundle.dto.BundleCreateDTO;
import com.xbongbong.pro.bundle.dto.BundleGetDTO;
import com.xbongbong.pro.bundle.dto.BundleInfoSynDTO;
import com.xbongbong.pro.bundle.dto.BundleInfoUndateDTO;
import com.xbongbong.pro.bundle.dto.BundleMemberAddDTO;
import com.xbongbong.pro.bundle.dto.BundleMemberDeleteDTO;
import com.xbongbong.pro.message.pojo.dto.MessageSaveAllDingRobotDataDTO;

/**
 * 应用模块名称<p>
 * 代码描述<p>
 * Company: 逍邦网络科技有限公司<p>
 *
 * @author chenshan
 * @version v1.0
 * @since 2020/8/21 2:51 下午
 */
public interface BundleService {
    
    BaseVO createBundle(BundleCreateDTO bundleCreateDTO) throws XbbException;
    
    BaseVO updateBundleInfo(BundleInfoUndateDTO bundleInfoUndateDTO) throws XbbException;
    
    BaseVO getBundleInfo(BundleGetDTO bundleGetDTO) throws XbbException;
    
    BaseVO addBundleMember(BundleMemberAddDTO bundleMemberAddDTO) throws XbbException;
    
    BaseVO removeBundleMember(BundleMemberDeleteDTO bundleMemberDeleteDTO) throws XbbException;
    
    BaseVO synBundleInfo(BundleInfoSynDTO bundleInfoSynDTO) throws XbbException;
    /**
     * Description: 生成钉钉群的推送数据
     * @author chenshan
     * @date 2020-10-09 17:29
     */
    void dingRobotSaveDate(MessageSaveAllDingRobotDataDTO messageSaveAllDingRobotDataDTO) throws XbbException;
    
    /**
     * Description: 推送钉钉群的数据
     * @author chenshan
     * @date 2020-10-09 17:29
     */
    void dingRobotDatePush(MessageSaveAllDingRobotDataDTO messageSaveAllDingRobotDataDTO) throws XbbException;
}
